package com.zhangxu.microservice.system.biz.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class TokenRespDTO {

    /**
     * 员工ID
     */
    private String employeeId;

    /**
     * 账户
     */
    private String account;

    /**
     * 姓名
     */
    private String name;
    /**
     * 令牌
     */
    private String token;
    /**
     * 角色列表
     */
    private List<Long> roles;

    public TokenRespDTO(String employeeId, String account, String name, String token, List<Long> roles) {
        this.employeeId = employeeId;
        this.account = account;
        this.name = name;
        this.token = token;
        this.roles = roles;
    }
}
